<template>
	<view class="container">
		<view class="header fiexd-head">
			<scroll-view scroll-x="true" class="nav" :scroll-left="navScrollLeft" scroll-with-animation="true">

			</scroll-view>
		</view>
		<view class="swiper">
			<view class="swiper-item" @click="active = true" :class="{'border':active}">随机组成</view>
			<view class="swiper-item" @click="active = false" :class="{'border':!active}">手动选择</view>
		</view>

		<view class="list" v-if="active">
			<view class="u-flex u-row-start u-flex u-row-center">
				<view class="mytupian u-m-t-20" v-for="(item,index) in 5" :key="index">
					<image class="" src="../../static/img/othersname.png" mode=""></image>
					<text class="u-m-l-25 name">华晨宇</text>
					<text class="u-m-l-25 name touxiang">头像</text>
				</view>
			</view>
			<view class="u-flex u-row-start u-flex u-row-center">
				<view class="mytupian u-m-t-20" v-for="(item,index) in 5" :key="index">
					<image class="" src="../../static/img/othersname.png" mode=""></image>
					<text class="u-m-l-25 name">华晨宇</text>
					<text class="u-m-l-25 name touxiang">头像</text>
				</view>
			</view>
			<view class="u-flex u-row-start u-flex u-row-center">
				<view class="mytupian u-m-t-20" v-for="(item,index) in 5" :key="index">
					<image class="" src="../../static/img/othersname.png" mode=""></image>
					<text class="u-m-l-25 name">华晨宇</text>
					<text class="u-m-l-25 name touxiang">头像</text>
				</view>
			</view>
			<view class="u-flex u-row-start u-flex u-row-center u-m-t-50">
				<view class="mytupian u-m-t-20" v-for="(item,index) in 5" :key="index">
					<image class="" src="../../static/img/othersname.png" mode=""></image>
					<text class="u-m-l-25 name nameblue">华晨宇</text>
					<text class="u-m-l-25 name touxiang">头像</text>
				</view>
			</view>
		</view>


		<view class="list" v-else>


		</view>


		<view class="u-flex u-row-center u-m-b-50">
			<view class="detail">
				<u-button class="button">请求仲裁</u-button>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				active: true
			}
		},
		methods: {

		},



	}
</script>

<style scoped lang="scss">
	page {
		background-color: #ffffff;
	}

.mytupian{
	position: relative;
}
.touxiang{
	text-align: center;
	position: absolute;
	top: 40rpx;
	left: 20rpx;
}
	.fiexd-head {
		position: fixed;
		top: 0;
		/* #ifdef H5 */
		top: 40rpx;
		/* #endif */
		left: 0;
		z-index: -1;
		width: 100%;
		height: 40rpx;
	}

	.header {
		width: 750rpx;
		// background: linear-gradient(0deg, #ac62ff, #df62ff);
	}

	.nav {
		width: 100%;
		padding: 15rpx 0 29rpx 0;
		box-sizing: border-box;
		overflow: hidden;
		font-size: 28rpx;
		white-space: nowrap;

		.nav-item {
			width: 20%;
			display: inline-block;
			text-align: center;
			color: #fff;

			&.active {
				color: #fff;
			}
		}
	}

	.swiper {
		width: 100%;
		height: 80upx;
		display: flex;
		// background-color: #fff;
		background: linear-gradient(0deg, #ac62ff, #df62ff);
		justify-content: space-around;
		align-items: center;
		padding: 0 60upx;

		.swiper-item {
			height: 60upx;
			padding: 0 10upx;

			color: #FFFFFF;
		}

		.border {
			border-bottom: #FFFFFF solid 4upx;
			border-radius: 2upx;

		}
	}

	.button {
		width: 662rpx;
		height: 80rpx;
		font-size: 32rpx;
		margin: 84rpx auto 95rpx auto;
		background: #ab61ff;
		border-radius: 40rpx;
		border: 0;
		color: #fff;

		&.u-hairline-border:after {
			border: 0;
		}
	}

	.sousuo {
		height: 230rpx;
		line-height: 130rpx;
		background: #AB61FF;
		position: relative;
	}

	.ssbtn {
		position: absolute;
		left: 1%;
		text-align: center;
		z-index: 1;
	}

	.form {
		width: 606rpx;
		height: 68rpx;
		background: #FFFFFF;
		// opacity: 0.3;
		border-radius: 34px;

	}

	.mytupian {
		image {
			width: 107rpx;
			height: 124rpx;
			background: #FFFFFF;
			margin-right: 20rpx;
			margin-left: 20rpx;
			margin-bottom: 20rpx;

		}

		.name {

			color: #888D99;
			font-size: 26rpx;
		}

		.nameblue {

			color: #4B9CFF;
		}
	}

	.detail {
		color: #FF9028;
		padding-top: 100rpx;
	}
</style>
